home *** CD-ROM | disk | FTP | other *** search
- ;******************************************************************************
- ; Ver 11.0, Last Update Nov 24, 1993 *
- ; vwrLIb *
- ; this library adds functionality to HLPDK V10.0+, and adds special functions *
- ; to the multimedia viewer 2.0 target. *
- ; *
- ; The following added functionality is added : *
- ; *
- ; 256 color bitmap support, not available with the standard \{bmX \} graphics *
- ; defined with the standard graphic links of HLPDK 10.0 *
- ;******************************************************************************
- .ifdef mmviewer
-
- ;******************************************************************************
- ; bmp256 *
- ; insert the embedded file specified in %1, the Ebmp256 is a better function *
- ; e.g. ~bitmap~bmp256(256color.bmp)~ *
- ; (where 256color.bmp was declared as a .EMBEDD object .. *
- ;******************************************************************************
- .userlink bmp256 '\{ewc MVBMP2, ViewerBmp2, !%1\}'
-
- ;******************************************************************************
- ; bmp256Left *
- ; insert a 256 color bitmap, and align to the left of the paragraph. The *
- ; parameter to the bitmap is not the complete path to the bitmap! *
- ; e.g. ~bitmap~bmp256Left(256color.bmp)~ *
- ;******************************************************************************
- .userlink bmp256Left '\{ewl MVBMP2, ViewerBmp2, !%1\}'
-
- ;******************************************************************************
- ; bmp256Right *
- ; insert a 256 color bitmap, and align to the right of the paragraph. The *
- ; parameter to the bitmap is not the complete path to the bitmap! *
- ; e.g. ~bitmap~bmp256Right(256color.bmp)~ *
- ;******************************************************************************
- .userlink bmp256Right '\{ewr MVBMP2, ViewerBmp2, !%1\}'
-
- ;******************************************************************************
- ; Gbmp256 *
- ; Same as bmp256, but the graphic is the id of the graphic defined in a *
- ; .GRAPHIC statement. *
- ; e.g. : *
- ; .graphic mypicture pic256.bmp *
- ; .. ~Bitmap~Gbmp256(mypicture)~ .. *
- ; *
- ;******************************************************************************
- .userlink Gbmp256 '\{ewc MVBMP2, ViewerBmp2, !%g1\}'
-
- ;******************************************************************************
- ; Gbmp256Left *
- ; same as Gbmp256, but aligns to the left of the paragraph *
- ;******************************************************************************
- .userlink Gbmp256Left '\{ewl MVBMP2, ViewerBmp2, !%g1\}'
-
- ;******************************************************************************
- ; Gbmp256Right *
- ; Same as Gbmp256, but aligns bitmap to the right of the paragraph *
- ;******************************************************************************
- .userlink Gbmp256Right '\{ewr MVBMP2, ViewerBmp2, !%g1\}'
-
- ;******************************************************************************
- ; Ebmp256 *
- ; Ebmp256Left *
- ; Ebmp256Right *
- ; these are the recommended viewer links, these viewer commands must be *
- ; executed on embedded bitmaps. *
- ; remmember to .EMBEDD mygraphic mygraphic.bmp before ! *
- ;******************************************************************************
- .userlink Ebmp256 '\{ewc MVBMP2, ViewerBmp2, !%e1\}'
- .userlink Ebmp256Left '\{ewl MVBMP2, ViewerBmp2, !%e1\}'
- .userlink Ebmp256Right '\{ewr MVBMP2, ViewerBmp2, !%e1\}'
-
- .endif
-
-